/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lambkit.module.ucenter.rpc.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author Henry 杨勇 (孤竹行) 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-11-05
 * @version 1.0
 * @since 1.0
 */
public class UcenterUserCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static UcenterUserCriteria create() {
		return new UcenterUserCriteria();
	}
	
	public static UcenterUserCriteria create(Column column) {
		UcenterUserCriteria that = new UcenterUserCriteria();
		that.add(column);
        return that;
    }

    public static UcenterUserCriteria create(String name, Object value) {
        return (UcenterUserCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("ucenter_user", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public UcenterUserCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public UcenterUserCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public UcenterUserCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public UcenterUserCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public UcenterUserCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public UcenterUserCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public UcenterUserCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public UcenterUserCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public UcenterUserCriteria andUserIdIsNull() {
		isnull("user_id");
		return this;
	}
	
	public UcenterUserCriteria andUserIdIsNotNull() {
		notNull("user_id");
		return this;
	}
	
	public UcenterUserCriteria andUserIdIsEmpty() {
		empty("user_id");
		return this;
	}

	public UcenterUserCriteria andUserIdIsNotEmpty() {
		notEmpty("user_id");
		return this;
	}
       public UcenterUserCriteria andUserIdEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdNotEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.NOT_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdGreaterThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdLessThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("user_id", value1, value2, ConditionMode.BETWEEN, "userId", "java.lang.Long", "Float");
    	  return this;
      }

      public UcenterUserCriteria andUserIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("user_id", value1, value2, ConditionMode.NOT_BETWEEN, "userId", "java.lang.Long", "Float");
          return this;
      }
        
      public UcenterUserCriteria andUserIdIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.IN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UcenterUserCriteria andUserIdNotIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.NOT_IN, "userId", "java.lang.Long", "Float");
          return this;
      }
	public UcenterUserCriteria andPasswordIsNull() {
		isnull("password");
		return this;
	}
	
	public UcenterUserCriteria andPasswordIsNotNull() {
		notNull("password");
		return this;
	}
	
	public UcenterUserCriteria andPasswordIsEmpty() {
		empty("password");
		return this;
	}

	public UcenterUserCriteria andPasswordIsNotEmpty() {
		notEmpty("password");
		return this;
	}
        public UcenterUserCriteria andPasswordLike(java.lang.String value) {
    	   addCriterion("password", value, ConditionMode.FUZZY, "password", "java.lang.String", "Float");
    	   return this;
      }

      public UcenterUserCriteria andPasswordNotLike(java.lang.String value) {
          addCriterion("password", value, ConditionMode.NOT_FUZZY, "password", "java.lang.String", "Float");
          return this;
      }
      public UcenterUserCriteria andPasswordEqualTo(java.lang.String value) {
          addCriterion("password", value, ConditionMode.EQUAL, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordNotEqualTo(java.lang.String value) {
          addCriterion("password", value, ConditionMode.NOT_EQUAL, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordGreaterThan(java.lang.String value) {
          addCriterion("password", value, ConditionMode.GREATER_THEN, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("password", value, ConditionMode.GREATER_EQUAL, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordLessThan(java.lang.String value) {
          addCriterion("password", value, ConditionMode.LESS_THEN, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordLessThanOrEqualTo(java.lang.String value) {
          addCriterion("password", value, ConditionMode.LESS_EQUAL, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("password", value1, value2, ConditionMode.BETWEEN, "password", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andPasswordNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("password", value1, value2, ConditionMode.NOT_BETWEEN, "password", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andPasswordIn(List<java.lang.String> values) {
          addCriterion("password", values, ConditionMode.IN, "password", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andPasswordNotIn(List<java.lang.String> values) {
          addCriterion("password", values, ConditionMode.NOT_IN, "password", "java.lang.String", "String");
          return this;
      }
	public UcenterUserCriteria andSaltIsNull() {
		isnull("salt");
		return this;
	}
	
	public UcenterUserCriteria andSaltIsNotNull() {
		notNull("salt");
		return this;
	}
	
	public UcenterUserCriteria andSaltIsEmpty() {
		empty("salt");
		return this;
	}

	public UcenterUserCriteria andSaltIsNotEmpty() {
		notEmpty("salt");
		return this;
	}
        public UcenterUserCriteria andSaltLike(java.lang.String value) {
    	   addCriterion("salt", value, ConditionMode.FUZZY, "salt", "java.lang.String", "String");
    	   return this;
      }

      public UcenterUserCriteria andSaltNotLike(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.NOT_FUZZY, "salt", "java.lang.String", "String");
          return this;
      }
      public UcenterUserCriteria andSaltEqualTo(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.EQUAL, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltNotEqualTo(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.NOT_EQUAL, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltGreaterThan(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.GREATER_THEN, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.GREATER_EQUAL, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltLessThan(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.LESS_THEN, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltLessThanOrEqualTo(java.lang.String value) {
          addCriterion("salt", value, ConditionMode.LESS_EQUAL, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("salt", value1, value2, ConditionMode.BETWEEN, "salt", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andSaltNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("salt", value1, value2, ConditionMode.NOT_BETWEEN, "salt", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andSaltIn(List<java.lang.String> values) {
          addCriterion("salt", values, ConditionMode.IN, "salt", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andSaltNotIn(List<java.lang.String> values) {
          addCriterion("salt", values, ConditionMode.NOT_IN, "salt", "java.lang.String", "String");
          return this;
      }
	public UcenterUserCriteria andNicknameIsNull() {
		isnull("nickname");
		return this;
	}
	
	public UcenterUserCriteria andNicknameIsNotNull() {
		notNull("nickname");
		return this;
	}
	
	public UcenterUserCriteria andNicknameIsEmpty() {
		empty("nickname");
		return this;
	}

	public UcenterUserCriteria andNicknameIsNotEmpty() {
		notEmpty("nickname");
		return this;
	}
        public UcenterUserCriteria andNicknameLike(java.lang.String value) {
    	   addCriterion("nickname", value, ConditionMode.FUZZY, "nickname", "java.lang.String", "String");
    	   return this;
      }

      public UcenterUserCriteria andNicknameNotLike(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.NOT_FUZZY, "nickname", "java.lang.String", "String");
          return this;
      }
      public UcenterUserCriteria andNicknameEqualTo(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.EQUAL, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameNotEqualTo(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.NOT_EQUAL, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameGreaterThan(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.GREATER_THEN, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.GREATER_EQUAL, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameLessThan(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.LESS_THEN, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("nickname", value, ConditionMode.LESS_EQUAL, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("nickname", value1, value2, ConditionMode.BETWEEN, "nickname", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andNicknameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("nickname", value1, value2, ConditionMode.NOT_BETWEEN, "nickname", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andNicknameIn(List<java.lang.String> values) {
          addCriterion("nickname", values, ConditionMode.IN, "nickname", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andNicknameNotIn(List<java.lang.String> values) {
          addCriterion("nickname", values, ConditionMode.NOT_IN, "nickname", "java.lang.String", "String");
          return this;
      }
	public UcenterUserCriteria andSexIsNull() {
		isnull("sex");
		return this;
	}
	
	public UcenterUserCriteria andSexIsNotNull() {
		notNull("sex");
		return this;
	}
	
	public UcenterUserCriteria andSexIsEmpty() {
		empty("sex");
		return this;
	}

	public UcenterUserCriteria andSexIsNotEmpty() {
		notEmpty("sex");
		return this;
	}
       public UcenterUserCriteria andSexEqualTo(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.EQUAL, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexNotEqualTo(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.NOT_EQUAL, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexGreaterThan(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.GREATER_THEN, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.GREATER_EQUAL, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexLessThan(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.LESS_THEN, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("sex", value, ConditionMode.LESS_EQUAL, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("sex", value1, value2, ConditionMode.BETWEEN, "sex", "java.lang.Integer", "Float");
    	  return this;
      }

      public UcenterUserCriteria andSexNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("sex", value1, value2, ConditionMode.NOT_BETWEEN, "sex", "java.lang.Integer", "Float");
          return this;
      }
        
      public UcenterUserCriteria andSexIn(List<java.lang.Integer> values) {
          addCriterion("sex", values, ConditionMode.IN, "sex", "java.lang.Integer", "Float");
          return this;
      }

      public UcenterUserCriteria andSexNotIn(List<java.lang.Integer> values) {
          addCriterion("sex", values, ConditionMode.NOT_IN, "sex", "java.lang.Integer", "Float");
          return this;
      }
	public UcenterUserCriteria andAvatarIsNull() {
		isnull("avatar");
		return this;
	}
	
	public UcenterUserCriteria andAvatarIsNotNull() {
		notNull("avatar");
		return this;
	}
	
	public UcenterUserCriteria andAvatarIsEmpty() {
		empty("avatar");
		return this;
	}

	public UcenterUserCriteria andAvatarIsNotEmpty() {
		notEmpty("avatar");
		return this;
	}
        public UcenterUserCriteria andAvatarLike(java.lang.String value) {
    	   addCriterion("avatar", value, ConditionMode.FUZZY, "avatar", "java.lang.String", "Float");
    	   return this;
      }

      public UcenterUserCriteria andAvatarNotLike(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.NOT_FUZZY, "avatar", "java.lang.String", "Float");
          return this;
      }
      public UcenterUserCriteria andAvatarEqualTo(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.EQUAL, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarNotEqualTo(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.NOT_EQUAL, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarGreaterThan(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.GREATER_THEN, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.GREATER_EQUAL, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarLessThan(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.LESS_THEN, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarLessThanOrEqualTo(java.lang.String value) {
          addCriterion("avatar", value, ConditionMode.LESS_EQUAL, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("avatar", value1, value2, ConditionMode.BETWEEN, "avatar", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andAvatarNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("avatar", value1, value2, ConditionMode.NOT_BETWEEN, "avatar", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andAvatarIn(List<java.lang.String> values) {
          addCriterion("avatar", values, ConditionMode.IN, "avatar", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andAvatarNotIn(List<java.lang.String> values) {
          addCriterion("avatar", values, ConditionMode.NOT_IN, "avatar", "java.lang.String", "String");
          return this;
      }
	public UcenterUserCriteria andCreateTimeIsNull() {
		isnull("create_time");
		return this;
	}
	
	public UcenterUserCriteria andCreateTimeIsNotNull() {
		notNull("create_time");
		return this;
	}
	
	public UcenterUserCriteria andCreateTimeIsEmpty() {
		empty("create_time");
		return this;
	}

	public UcenterUserCriteria andCreateTimeIsNotEmpty() {
		notEmpty("create_time");
		return this;
	}
       public UcenterUserCriteria andCreateTimeEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeNotEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.NOT_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeGreaterThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeLessThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("create_time", value1, value2, ConditionMode.BETWEEN, "createTime", "java.util.Date", "String");
    	  return this;
      }

      public UcenterUserCriteria andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("create_time", value1, value2, ConditionMode.NOT_BETWEEN, "createTime", "java.util.Date", "String");
          return this;
      }
        
      public UcenterUserCriteria andCreateTimeIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.IN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andCreateTimeNotIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.NOT_IN, "createTime", "java.util.Date", "String");
          return this;
      }
	public UcenterUserCriteria andCreateIpIsNull() {
		isnull("create_ip");
		return this;
	}
	
	public UcenterUserCriteria andCreateIpIsNotNull() {
		notNull("create_ip");
		return this;
	}
	
	public UcenterUserCriteria andCreateIpIsEmpty() {
		empty("create_ip");
		return this;
	}

	public UcenterUserCriteria andCreateIpIsNotEmpty() {
		notEmpty("create_ip");
		return this;
	}
        public UcenterUserCriteria andCreateIpLike(java.lang.String value) {
    	   addCriterion("create_ip", value, ConditionMode.FUZZY, "createIp", "java.lang.String", "String");
    	   return this;
      }

      public UcenterUserCriteria andCreateIpNotLike(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.NOT_FUZZY, "createIp", "java.lang.String", "String");
          return this;
      }
      public UcenterUserCriteria andCreateIpEqualTo(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.EQUAL, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpNotEqualTo(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.NOT_EQUAL, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpGreaterThan(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.GREATER_THEN, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.GREATER_EQUAL, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpLessThan(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.LESS_THEN, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpLessThanOrEqualTo(java.lang.String value) {
          addCriterion("create_ip", value, ConditionMode.LESS_EQUAL, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("create_ip", value1, value2, ConditionMode.BETWEEN, "createIp", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andCreateIpNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("create_ip", value1, value2, ConditionMode.NOT_BETWEEN, "createIp", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andCreateIpIn(List<java.lang.String> values) {
          addCriterion("create_ip", values, ConditionMode.IN, "createIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andCreateIpNotIn(List<java.lang.String> values) {
          addCriterion("create_ip", values, ConditionMode.NOT_IN, "createIp", "java.lang.String", "String");
          return this;
      }
	public UcenterUserCriteria andLastLoginTimeIsNull() {
		isnull("last_login_time");
		return this;
	}
	
	public UcenterUserCriteria andLastLoginTimeIsNotNull() {
		notNull("last_login_time");
		return this;
	}
	
	public UcenterUserCriteria andLastLoginTimeIsEmpty() {
		empty("last_login_time");
		return this;
	}

	public UcenterUserCriteria andLastLoginTimeIsNotEmpty() {
		notEmpty("last_login_time");
		return this;
	}
       public UcenterUserCriteria andLastLoginTimeEqualTo(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.EQUAL, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeNotEqualTo(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.NOT_EQUAL, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeGreaterThan(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.GREATER_THEN, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.GREATER_EQUAL, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeLessThan(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.LESS_THEN, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("last_login_time", value, ConditionMode.LESS_EQUAL, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("last_login_time", value1, value2, ConditionMode.BETWEEN, "lastLoginTime", "java.util.Date", "String");
    	  return this;
      }

      public UcenterUserCriteria andLastLoginTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("last_login_time", value1, value2, ConditionMode.NOT_BETWEEN, "lastLoginTime", "java.util.Date", "String");
          return this;
      }
        
      public UcenterUserCriteria andLastLoginTimeIn(List<java.util.Date> values) {
          addCriterion("last_login_time", values, ConditionMode.IN, "lastLoginTime", "java.util.Date", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginTimeNotIn(List<java.util.Date> values) {
          addCriterion("last_login_time", values, ConditionMode.NOT_IN, "lastLoginTime", "java.util.Date", "String");
          return this;
      }
	public UcenterUserCriteria andLastLoginIpIsNull() {
		isnull("last_login_ip");
		return this;
	}
	
	public UcenterUserCriteria andLastLoginIpIsNotNull() {
		notNull("last_login_ip");
		return this;
	}
	
	public UcenterUserCriteria andLastLoginIpIsEmpty() {
		empty("last_login_ip");
		return this;
	}

	public UcenterUserCriteria andLastLoginIpIsNotEmpty() {
		notEmpty("last_login_ip");
		return this;
	}
        public UcenterUserCriteria andLastLoginIpLike(java.lang.String value) {
    	   addCriterion("last_login_ip", value, ConditionMode.FUZZY, "lastLoginIp", "java.lang.String", "String");
    	   return this;
      }

      public UcenterUserCriteria andLastLoginIpNotLike(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.NOT_FUZZY, "lastLoginIp", "java.lang.String", "String");
          return this;
      }
      public UcenterUserCriteria andLastLoginIpEqualTo(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.EQUAL, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpNotEqualTo(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.NOT_EQUAL, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpGreaterThan(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.GREATER_THEN, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.GREATER_EQUAL, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpLessThan(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.LESS_THEN, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpLessThanOrEqualTo(java.lang.String value) {
          addCriterion("last_login_ip", value, ConditionMode.LESS_EQUAL, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("last_login_ip", value1, value2, ConditionMode.BETWEEN, "lastLoginIp", "java.lang.String", "String");
    	  return this;
      }

      public UcenterUserCriteria andLastLoginIpNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("last_login_ip", value1, value2, ConditionMode.NOT_BETWEEN, "lastLoginIp", "java.lang.String", "String");
          return this;
      }
        
      public UcenterUserCriteria andLastLoginIpIn(List<java.lang.String> values) {
          addCriterion("last_login_ip", values, ConditionMode.IN, "lastLoginIp", "java.lang.String", "String");
          return this;
      }

      public UcenterUserCriteria andLastLoginIpNotIn(List<java.lang.String> values) {
          addCriterion("last_login_ip", values, ConditionMode.NOT_IN, "lastLoginIp", "java.lang.String", "String");
          return this;
      }
}